
.header{
  display: flex;
  height: 60px;
  width: 2000px;
  padding: 0 10px;
  margin: 0 auto;
  line-height: 40px;
  box-sizing: border-box;
  background-color: #fff;
  align-items: center;
  .left{
    margin-left: 200px;
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    img{
      width: 60px;
      height: 30px;
    }
  }
  .Ipt{
    position: relative;
    margin-left: 500px;
    :global{
      .searchHistory{
        position: absolute;
        left: 60px;
        width: 400px;
        top: 38px;
        overflow-y: scroll;
        height: 200px;
        border-radius: 20px;
        background-color: #fff;
        border: 1px solid #ddd;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-300px); /* 初始位置：上移 */
        li{
          display: flex;
          justify-content: space-between;
          padding: 2px 10px;
        }
        i{
          opacity: 0;
          font-size: 20px;
        }
        li:hover{
          i{
            opacity: 1;

          }
          background-color: #ddd;
          border-radius: 0 20px  20px 0;
        }
      }
      /* 显示状态 */
      .searchHistory.show {
        
        transform: translateY(0); /* 滑动到正常位置 */
        opacity: 1; /* 变为不透明 */
        li{
          cursor: pointer;
        }
      }
      .anticon-zoom-out{
        font-size: 18px;
        color: #8491a5;
        position: absolute;
        right: 20px;
        top: 12px;
      };
    }
  }

  :global{
    .ant-input {
      border-radius: 30px;
      margin-left: 60px;
      width: 400px !important;
    }
    .ant-input:focus{
      border-color: #b7bfca !important;
    }
    .ant-input:hover{
      border-color: #b7bfca !important;
    }
  }
}
.bigDiv{
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 60px;
  background-color: #fff;
  z-index: 999;
}